<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'userdeposit.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">
<script type="text/javascript" src="./plugin/jqueryqrcode/src/jquery.min.js"></script>
<style type="text/css">
.layer_zhuti iframe {
	height: 95%;
}

.layer_zhuti #td1 {
	width: 20%
}
</style>
<script type="text/javascript">
var sousuo = $("#sousuo").value;
$(document).ready(function(){
	$.ajax({
		type:"post",
		url:"<%=basePath%>/state/userCase_usersLoginRecord.action",
		data:{
			pageNo:1,
			pageSize:20,
			sousuo:sousuo,
			areaid:1,
		},
		dataType:"json",
		async:false,
		success:function(data){
			var obj = eval("("+msg+")");
		},
		error:function(msg){
// 	   		alert("系统出错误,请联系技术人员");
		}
	});
});

 
	url = "<%=basePath%>/state/userCase_usersList.action?";
	 
	function mohusousuo(){
		if(sousuo!="请输入关键词"){
			document.getElementById("iframe").src=url+"sousuo="+sousuo;
		}
	}

</script>

</head>
 
  <body>
   		<div class="layer_head">
   			<div class="layer_title">押金退款</div>
   			<div class="layer_seek">
   					<input id="sousuo" type="text" value="请输入关键词" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" 
   					onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999" 
   					onkeypress="if (event.keyCode == 13)mohusousuo();"/>
	   			<a href="javascript:void(0)" onclick="mohusousuo()"><div class="layer_search"></div></a>
   			</div>
			<div style="clear: both;"></div>
   		</div>
   		<hr>
   		
   		<div class="layer_zhuti">
   			<table>
   				<tr class="tr1">
   					<td id="td2">用户id</td>
	   				<td id="td3">成为会员时间</td>
	   				<td id="td2">交易类型(套餐/会员/时长)</td>
	   				<td id="td3">作用(1:消费; 2:充值;3:退款)</td>
	   				<td id="td2">充值时间</td>
	   				<td id="td3">操作时间</td>
	   				<td id="td2">操作费用</td>
   				</tr>
   			</table>
   			<iframe  id="iframe" class ="layer_iframe" name="wrap_iframe" src="${pageContext.request.contextPath}/state/userCase_usersList.action" frameborder=0 ></iframe>
   		</div>
   		<div class="layer_bottom">
			<span class="span1" >**共 <span style="font-size: 14px;color: black;" id="span1"></span> 条数据 / 共
			<span style="font-size: 14px;color: black;" id="span2"></span>&nbsp;页 / 当前第
			<span style="font-size: 14px;color: black;" id="span3"></span>&nbsp;页***</span> 
			
			<span style="float: right;"><input id="tiao"style="width: 50px" type="number" min="1"/><button style="width: 50px" onclick="tiaozhuan()" >go</button></span>
			<button style="margin-right: 40px" onclick="moye()">末 页</button>
			<button style="margin-right: 20px" onclick="xiaye()">下页</button>
			<button style="margin-right: 20px" onclick="shangye()">上 页</button>
			<button style="margin-right: 20px" onclick="shouye()">首页</button>
			<div style="clear: both;"></div>
		</div>
		<input type="hidden" >
  </body>

<script type="text/javascript">
	function showDiv(divtype, url, title) {
		window.parent.showDiv(divtype, url, title);
	}
</script>
</html>
